package main;

public class Main {

	public static void main(String[] args) {
		System.out.println(""+new CaraCruz.CaraCruz().caraCruz(5, "0 1 0 1 0"));
		System.out.println(""+new CaraCruz.CaraCruz().caraCruz(5, "0 1 0 1 a"));
		System.out.println(""+new CaraCruz.CaraCruz().caraCruz(5, "1 1 1 0 0"));
		System.out.println(""+new CaraCruz.CaraCruz().caraCruz(2, "1 1 1 0 0"));
		System.out.println(""+new CaraCruz.CaraCruz().caraCruz(2000, "1 1 1 0 0"));
	}

}
